package com.hoshiicloud.goods.mapper.goods;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hoshiicloud.goods.entity.goods.GoodsProperties;
import com.hoshiicloud.goods.vo.GoodsPropertiesPageVo;
import com.hoshiicloud.goods.vo.GoodsPropertiesVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商品属性 Mapper 接口
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-04
 */
public interface GoodsPropertiesMapper extends BaseMapper<GoodsProperties> {

    GoodsPropertiesVo getPropertiesVo(Long id);

    Page<GoodsPropertiesPageVo> selectPageByParam(Page<GoodsPropertiesPageVo> page, @Param("ew") Wrapper<GoodsProperties> queryWrapper);
}
